﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VulnDBExplorer.Services {
	
	public interface IRepository {
		string Name { get; set; }

		string Folder { get; set; }

		IList<ICodebase> Codebases { get; }
	}

	public interface ICodebase {
		string Name { get; set; }
		string Folder { get; set; }
		string Text { get; set; }
		int VersionID { get; set; }

		IEnumerable<string> enumerateSourceFiles();
		string getRelativePath(string filename);
		string getFullPath(string filename);
	}
}
